package com.ryder.book_cycle.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ryder.book_cycle.entity.MerchantProfile;
import com.ryder.book_cycle.mapper.MerchantProfileMapper;
import com.ryder.book_cycle.service.MerchantProfileService;
import org.springframework.stereotype.Service;

/**
 * 描述: 商家店铺信息表(MerchantProfile)表服务实现类
 * 
 * @author Ryder
 * @version 1.0
 * @since 1.0 // 版本号，指明从哪个版本开始
 * 更新日期: 2025-07-09 04:00:16
 */
@Service("merchantProfileService")
public class MerchantProfileServiceImpl extends ServiceImpl<MerchantProfileMapper, MerchantProfile> implements MerchantProfileService {

    @Override
    public boolean updateByMerchantId(MerchantProfile entity) {
        return baseMapper.updateByMerchantId(entity) > 0;
    }
}
